﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000FAB RID: 4011
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueModifierDelNotify : IMessage<RogueModifierDelNotify>, IMessage, IEquatable<RogueModifierDelNotify>, IDeepCloneable<RogueModifierDelNotify>, IBufferMessage
	{
		// Token: 0x170032D2 RID: 13010
		// (get) Token: 0x0600B3A3 RID: 45987 RVA: 0x001E52A8 File Offset: 0x001E34A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueModifierDelNotify> Parser
		{
			get
			{
				return RogueModifierDelNotify._parser;
			}
		}

		// Token: 0x170032D3 RID: 13011
		// (get) Token: 0x0600B3A4 RID: 45988 RVA: 0x001E52AF File Offset: 0x001E34AF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueModifierDelNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170032D4 RID: 13012
		// (get) Token: 0x0600B3A5 RID: 45989 RVA: 0x001E52C1 File Offset: 0x001E34C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueModifierDelNotify.Descriptor;
			}
		}

		// Token: 0x0600B3A6 RID: 45990 RVA: 0x001E52C8 File Offset: 0x001E34C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueModifierDelNotify()
		{
		}

		// Token: 0x0600B3A7 RID: 45991 RVA: 0x001E52D0 File Offset: 0x001E34D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueModifierDelNotify(RogueModifierDelNotify other) : this()
		{
			this.modifierId_ = other.modifierId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B3A8 RID: 45992 RVA: 0x001E52F5 File Offset: 0x001E34F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueModifierDelNotify Clone()
		{
			return new RogueModifierDelNotify(this);
		}

		// Token: 0x170032D5 RID: 13013
		// (get) Token: 0x0600B3A9 RID: 45993 RVA: 0x001E52FD File Offset: 0x001E34FD
		// (set) Token: 0x0600B3AA RID: 45994 RVA: 0x001E5305 File Offset: 0x001E3505
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ulong ModifierId
		{
			get
			{
				return this.modifierId_;
			}
			set
			{
				this.modifierId_ = value;
			}
		}

		// Token: 0x0600B3AB RID: 45995 RVA: 0x001E530E File Offset: 0x001E350E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueModifierDelNotify);
		}

		// Token: 0x0600B3AC RID: 45996 RVA: 0x001E531C File Offset: 0x001E351C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueModifierDelNotify other)
		{
			return other != null && (other == this || (this.ModifierId == other.ModifierId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B3AD RID: 45997 RVA: 0x001E534C File Offset: 0x001E354C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ModifierId != 0UL)
			{
				num ^= this.ModifierId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B3AE RID: 45998 RVA: 0x001E538B File Offset: 0x001E358B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B3AF RID: 45999 RVA: 0x001E5393 File Offset: 0x001E3593
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B3B0 RID: 46000 RVA: 0x001E539C File Offset: 0x001E359C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ModifierId != 0UL)
			{
				output.WriteRawTag(40);
				output.WriteUInt64(this.ModifierId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B3B1 RID: 46001 RVA: 0x001E53D0 File Offset: 0x001E35D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ModifierId != 0UL)
			{
				num += 1 + CodedOutputStream.ComputeUInt64Size(this.ModifierId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B3B2 RID: 46002 RVA: 0x001E540E File Offset: 0x001E360E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueModifierDelNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ModifierId != 0UL)
			{
				this.ModifierId = other.ModifierId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B3B3 RID: 46003 RVA: 0x001E543F File Offset: 0x001E363F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B3B4 RID: 46004 RVA: 0x001E5448 File Offset: 0x001E3648
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.ModifierId = input.ReadUInt64();
				}
			}
		}

		// Token: 0x040048A1 RID: 18593
		private static readonly MessageParser<RogueModifierDelNotify> _parser = new MessageParser<RogueModifierDelNotify>(() => new RogueModifierDelNotify());

		// Token: 0x040048A2 RID: 18594
		private UnknownFieldSet _unknownFields;

		// Token: 0x040048A3 RID: 18595
		public const int ModifierIdFieldNumber = 5;

		// Token: 0x040048A4 RID: 18596
		private ulong modifierId_;
	}
}
